test_deploy() {
	if [ "$(skip 'test_deploy')" ]; then
		echo "==> TEST SKIPPED: Deploy tests"
		return
	fi

	set_verbosity

	echo "==> Checking for dependencies"
	check_dependencies juju

	file="${TEST_DIR}/test-deploy-ctl.log"

	bootstrap "test-deploy-ctl" "${file}"

	test_deploy_charms
	test_deploy_bundles
	test_cmr_bundles_export_overlay
	test_deploy_revision
	test_deploy_default_series

	destroy_controller "test-deploy-ctl"
}
